package com.dragon.modules.yuegou.query.merchant;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.merchant.MerchantApplyEntity;
import com.dragon.modules.yuegou.enums.merchant.MerchantApplyCheckStatus;
import com.dragon.modules.yuegou.enums.merchant.MerchantApplyMerchantType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * 商户信息申请表 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2021-11-18 11:39:56
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class MerchantApplyQuery extends MerchantApplyEntity implements Query<MerchantApplyEntity> {

    /** ID查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈ID查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 商铺ID，申请通过后插入查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 商户名称查询条件 */
	@JsonUnwrapped(prefix = "merchantName")
	private Condition<String> merchantNameCondition;

    /** 商户铺位号查询条件 */
	@JsonUnwrapped(prefix = "merchantCode")
	private Condition<String> merchantCodeCondition;

    /** 商户logo查询条件 */
	@JsonUnwrapped(prefix = "merchantLogo")
	private Condition<String> merchantLogoCondition;

    /** 商户背景图查询条件 */
	@JsonUnwrapped(prefix = "merchantBackgroundImg")
	private Condition<String> merchantBackgroundImgCondition;

    /** 商户图片查询条件 */
	@JsonUnwrapped(prefix = "images")
	private Condition<String> imagesCondition;

    /** 楼栋id查询条件 */
	@JsonUnwrapped(prefix = "buildingId")
	private Condition<String> buildingIdCondition;

    /** 楼层ID查询条件 */
	@JsonUnwrapped(prefix = "floorId")
	private Condition<String> floorIdCondition;

    /** [枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件 */
	@JsonUnwrapped(prefix = "merchantType")
	private Condition<MerchantApplyMerchantType> merchantTypeCondition;

    /** 联系人名称查询条件 */
	@JsonUnwrapped(prefix = "contactName")
	private Condition<String> contactNameCondition;

    /** 联系人手机号查询条件 */
	@JsonUnwrapped(prefix = "contactMobile")
	private Condition<String> contactMobileCondition;

    /** 联系地址查询条件 */
	@JsonUnwrapped(prefix = "contactAddress")
	private Condition<String> contactAddressCondition;

    /** 开始营业时间查询条件 */
	@JsonUnwrapped(prefix = "startBusinessTime")
	private Condition<LocalTime> startBusinessTimeCondition;

    /** 结束营业时间查询条件 */
	@JsonUnwrapped(prefix = "endBusinessTime")
	private Condition<LocalTime> endBusinessTimeCondition;

    /** 商铺面积查询条件 */
	@JsonUnwrapped(prefix = "merchantAcreage")
	private Condition<BigDecimal> merchantAcreageCondition;

    /** 备注查询条件 */
	@JsonUnwrapped(prefix = "remarks")
	private Condition<String> remarksCondition;

    /** 创建人ID查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 审核人ID查询条件 */
	@JsonUnwrapped(prefix = "checkBy")
	private Condition<String> checkByCondition;

    /** 审核时间查询条件 */
	@JsonUnwrapped(prefix = "checkTime")
	private Condition<LocalDateTime> checkTimeCondition;

    /** [枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件 */
	@JsonUnwrapped(prefix = "checkStatus")
	private Condition<MerchantApplyCheckStatus> checkStatusCondition;

    /** 审核意见查询条件 */
	@JsonUnwrapped(prefix = "checkOpinion")
	private Condition<String> checkOpinionCondition;

    /** 逻辑删除，1表示已删除,0表示未删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 从悦商惠申请的 必填查询条件 */
	@JsonUnwrapped(prefix = "applyBy")
	private Condition<String> applyByCondition;

    /** 申请手机号 悦商惠申请必填查询条件 */
	@JsonUnwrapped(prefix = "applyMobile")
	private Condition<String> applyMobileCondition;

    /** 银行卡号查询条件 */
	@JsonUnwrapped(prefix = "encBankNo")
	private Condition<String> encBankNoCondition;

    /** 银行开户用户名查询条件 */
	@JsonUnwrapped(prefix = "encTrueName")
	private Condition<String> encTrueNameCondition;

    /** 开户行code查询条件 */
	@JsonUnwrapped(prefix = "bankCode")
	private Condition<String> bankCodeCondition;

    /** 银行名称查询条件 */
	@JsonUnwrapped(prefix = "bankName")
	private Condition<String> bankNameCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public MerchantApplyQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public MerchantApplyQuery(MerchantApplyEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public MerchantApplyQuery(MerchantApplyQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.merchantNameCondition != null) {
			this.merchantNameCondition = other.merchantNameCondition.copy();
		}
		if(other.merchantCodeCondition != null) {
			this.merchantCodeCondition = other.merchantCodeCondition.copy();
		}
		if(other.merchantLogoCondition != null) {
			this.merchantLogoCondition = other.merchantLogoCondition.copy();
		}
		if(other.merchantBackgroundImgCondition != null) {
			this.merchantBackgroundImgCondition = other.merchantBackgroundImgCondition.copy();
		}
		if(other.imagesCondition != null) {
			this.imagesCondition = other.imagesCondition.copy();
		}
		if(other.buildingIdCondition != null) {
			this.buildingIdCondition = other.buildingIdCondition.copy();
		}
		if(other.floorIdCondition != null) {
			this.floorIdCondition = other.floorIdCondition.copy();
		}
		if(other.merchantTypeCondition != null) {
			this.merchantTypeCondition = other.merchantTypeCondition.copy();
		}
		if(other.contactNameCondition != null) {
			this.contactNameCondition = other.contactNameCondition.copy();
		}
		if(other.contactMobileCondition != null) {
			this.contactMobileCondition = other.contactMobileCondition.copy();
		}
		if(other.contactAddressCondition != null) {
			this.contactAddressCondition = other.contactAddressCondition.copy();
		}
		this.setOther(other);
	}

	private void setOther(MerchantApplyQuery other){

		if(other.startBusinessTimeCondition != null) {
			this.startBusinessTimeCondition = other.startBusinessTimeCondition.copy();
		}
		if(other.endBusinessTimeCondition != null) {
			this.endBusinessTimeCondition = other.endBusinessTimeCondition.copy();
		}
		if(other.merchantAcreageCondition != null) {
			this.merchantAcreageCondition = other.merchantAcreageCondition.copy();
		}
		if(other.remarksCondition != null) {
			this.remarksCondition = other.remarksCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.checkByCondition != null) {
			this.checkByCondition = other.checkByCondition.copy();
		}
		if(other.checkTimeCondition != null) {
			this.checkTimeCondition = other.checkTimeCondition.copy();
		}
		if(other.checkStatusCondition != null) {
			this.checkStatusCondition = other.checkStatusCondition.copy();
		}
		if(other.checkOpinionCondition != null) {
			this.checkOpinionCondition = other.checkOpinionCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.applyByCondition != null) {
			this.applyByCondition = other.applyByCondition.copy();
		}
		if(other.applyMobileCondition != null) {
			this.applyMobileCondition = other.applyMobileCondition.copy();
		}
		if(other.encBankNoCondition != null) {
			this.encBankNoCondition = other.encBankNoCondition.copy();
		}
		this.setOther2(other);
	}

	private void setOther2(MerchantApplyQuery other){
		if(other.encTrueNameCondition != null) {
			this.encTrueNameCondition = other.encTrueNameCondition.copy();
		}
		if(other.bankCodeCondition != null) {
			this.bankCodeCondition = other.bankCodeCondition.copy();
		}
		if(other.bankNameCondition != null) {
			this.bankNameCondition = other.bankNameCondition.copy();
		}
	}

	@Override
	public QueryWrapper<MerchantApplyEntity> toQueryWrapper() {
		QueryWrapper<MerchantApplyEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (merchantNameCondition != null) {
			merchantNameCondition.toWrapper(wrapper, COL_MERCHANT_NAME);
		}
		if (merchantCodeCondition != null) {
			merchantCodeCondition.toWrapper(wrapper, COL_MERCHANT_CODE);
		}
		if (merchantLogoCondition != null) {
			merchantLogoCondition.toWrapper(wrapper, COL_MERCHANT_LOGO);
		}
		if (merchantBackgroundImgCondition != null) {
			merchantBackgroundImgCondition.toWrapper(wrapper, COL_MERCHANT_BACKGROUND_IMG);
		}
		if (imagesCondition != null) {
			imagesCondition.toWrapper(wrapper, COL_IMAGES);
		}
		if (buildingIdCondition != null) {
			buildingIdCondition.toWrapper(wrapper, COL_BUILDING_ID);
		}
		if (floorIdCondition != null) {
			floorIdCondition.toWrapper(wrapper, COL_FLOOR_ID);
		}
		if (merchantTypeCondition != null) {
			merchantTypeCondition.toWrapper(wrapper, COL_MERCHANT_TYPE);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<MerchantApplyEntity> getQueryWrapper(QueryWrapper<MerchantApplyEntity> wrapper){
		if (contactNameCondition != null) {
			contactNameCondition.toWrapper(wrapper, COL_CONTACT_NAME);
		}
		if (contactMobileCondition != null) {
			contactMobileCondition.toWrapper(wrapper, COL_CONTACT_MOBILE);
		}
		if (contactAddressCondition != null) {
			contactAddressCondition.toWrapper(wrapper, COL_CONTACT_ADDRESS);
		}
		if (startBusinessTimeCondition != null) {
			startBusinessTimeCondition.toWrapper(wrapper, COL_START_BUSINESS_TIME);
		}
		if (endBusinessTimeCondition != null) {
			endBusinessTimeCondition.toWrapper(wrapper, COL_END_BUSINESS_TIME);
		}
		if (merchantAcreageCondition != null) {
			merchantAcreageCondition.toWrapper(wrapper, COL_MERCHANT_ACREAGE);
		}
		if (remarksCondition != null) {
			remarksCondition.toWrapper(wrapper, COL_REMARKS);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (checkByCondition != null) {
			checkByCondition.toWrapper(wrapper, COL_CHECK_BY);
		}
		if (checkTimeCondition != null) {
			checkTimeCondition.toWrapper(wrapper, COL_CHECK_TIME);
		}
		if (checkStatusCondition != null) {
			checkStatusCondition.toWrapper(wrapper, COL_CHECK_STATUS);
		}
		if (checkOpinionCondition != null) {
			checkOpinionCondition.toWrapper(wrapper, COL_CHECK_OPINION);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		return getQueryWrapper2(wrapper);
	}
	private QueryWrapper<MerchantApplyEntity> getQueryWrapper2(QueryWrapper<MerchantApplyEntity> wrapper){
		if (applyByCondition != null) {
			applyByCondition.toWrapper(wrapper, COL_APPLY_BY);
		}
		if (applyMobileCondition != null) {
			applyMobileCondition.toWrapper(wrapper, COL_APPLY_MOBILE);
		}
		if (encBankNoCondition != null) {
			encBankNoCondition.toWrapper(wrapper, COL_ENC_BANK_NO);
		}
		if (encTrueNameCondition != null) {
			encTrueNameCondition.toWrapper(wrapper, COL_ENC_TRUE_NAME);
		}
		if (bankCodeCondition != null) {
			bankCodeCondition.toWrapper(wrapper, COL_BANK_CODE);
		}
		if (bankNameCondition != null) {
			bankNameCondition.toWrapper(wrapper, COL_BANK_NAME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回ID查询条件
	 * 
	 * @return idCondition ID查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取ID查询条件
	 * 
	 * @return idCondition ID查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置ID查询条件
	 * 
	 * @param idCondition ID查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈ID查询条件
	 * 
	 * @param busdIdCondition 商圈ID查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回商铺ID，申请通过后插入查询条件
	 * 
	 * @return merchantIdCondition 商铺ID，申请通过后插入查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商铺ID，申请通过后插入查询条件
	 * 
	 * @return merchantIdCondition 商铺ID，申请通过后插入查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商铺ID，申请通过后插入查询条件
	 * 
	 * @param merchantIdCondition 商铺ID，申请通过后插入查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> merchantName() {
		this.merchantNameCondition = new Condition<>();
		return this.merchantNameCondition;
	}
	
	/**
	 * 获取商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> getMerchantNameCondition() {
		return merchantNameCondition;
	}

	/**
	 * 设置商户名称查询条件
	 * 
	 * @param merchantNameCondition 商户名称查询条件
	 */
	public void setMerchantNameCondition(Condition<String> merchantNameCondition) {
		this.merchantNameCondition = merchantNameCondition;
	}

	/**
	 * 构造并返回商户铺位号查询条件
	 * 
	 * @return merchantCodeCondition 商户铺位号查询条件
	 */
	public Condition<String> merchantCode() {
		this.merchantCodeCondition = new Condition<>();
		return this.merchantCodeCondition;
	}
	
	/**
	 * 获取商户铺位号查询条件
	 * 
	 * @return merchantCodeCondition 商户铺位号查询条件
	 */
	public Condition<String> getMerchantCodeCondition() {
		return merchantCodeCondition;
	}

	/**
	 * 设置商户铺位号查询条件
	 * 
	 * @param merchantCodeCondition 商户铺位号查询条件
	 */
	public void setMerchantCodeCondition(Condition<String> merchantCodeCondition) {
		this.merchantCodeCondition = merchantCodeCondition;
	}

	/**
	 * 构造并返回商户logo查询条件
	 * 
	 * @return merchantLogoCondition 商户logo查询条件
	 */
	public Condition<String> merchantLogo() {
		this.merchantLogoCondition = new Condition<>();
		return this.merchantLogoCondition;
	}
	
	/**
	 * 获取商户logo查询条件
	 * 
	 * @return merchantLogoCondition 商户logo查询条件
	 */
	public Condition<String> getMerchantLogoCondition() {
		return merchantLogoCondition;
	}

	/**
	 * 设置商户logo查询条件
	 * 
	 * @param merchantLogoCondition 商户logo查询条件
	 */
	public void setMerchantLogoCondition(Condition<String> merchantLogoCondition) {
		this.merchantLogoCondition = merchantLogoCondition;
	}

	/**
	 * 构造并返回商户背景图查询条件
	 * 
	 * @return merchantBackgroundImgCondition 商户背景图查询条件
	 */
	public Condition<String> merchantBackgroundImg() {
		this.merchantBackgroundImgCondition = new Condition<>();
		return this.merchantBackgroundImgCondition;
	}
	
	/**
	 * 获取商户背景图查询条件
	 * 
	 * @return merchantBackgroundImgCondition 商户背景图查询条件
	 */
	public Condition<String> getMerchantBackgroundImgCondition() {
		return merchantBackgroundImgCondition;
	}

	/**
	 * 设置商户背景图查询条件
	 * 
	 * @param merchantBackgroundImgCondition 商户背景图查询条件
	 */
	public void setMerchantBackgroundImgCondition(Condition<String> merchantBackgroundImgCondition) {
		this.merchantBackgroundImgCondition = merchantBackgroundImgCondition;
	}

	/**
	 * 构造并返回商户图片查询条件
	 * 
	 * @return imagesCondition 商户图片查询条件
	 */
	public Condition<String> images() {
		this.imagesCondition = new Condition<>();
		return this.imagesCondition;
	}
	
	/**
	 * 获取商户图片查询条件
	 * 
	 * @return imagesCondition 商户图片查询条件
	 */
	public Condition<String> getImagesCondition() {
		return imagesCondition;
	}

	/**
	 * 设置商户图片查询条件
	 * 
	 * @param imagesCondition 商户图片查询条件
	 */
	public void setImagesCondition(Condition<String> imagesCondition) {
		this.imagesCondition = imagesCondition;
	}

	/**
	 * 构造并返回楼栋id查询条件
	 * 
	 * @return buildingIdCondition 楼栋id查询条件
	 */
	public Condition<String> buildingId() {
		this.buildingIdCondition = new Condition<>();
		return this.buildingIdCondition;
	}
	
	/**
	 * 获取楼栋id查询条件
	 * 
	 * @return buildingIdCondition 楼栋id查询条件
	 */
	public Condition<String> getBuildingIdCondition() {
		return buildingIdCondition;
	}

	/**
	 * 设置楼栋id查询条件
	 * 
	 * @param buildingIdCondition 楼栋id查询条件
	 */
	public void setBuildingIdCondition(Condition<String> buildingIdCondition) {
		this.buildingIdCondition = buildingIdCondition;
	}

	/**
	 * 构造并返回楼层ID查询条件
	 * 
	 * @return floorIdCondition 楼层ID查询条件
	 */
	public Condition<String> floorId() {
		this.floorIdCondition = new Condition<>();
		return this.floorIdCondition;
	}
	
	/**
	 * 获取楼层ID查询条件
	 * 
	 * @return floorIdCondition 楼层ID查询条件
	 */
	public Condition<String> getFloorIdCondition() {
		return floorIdCondition;
	}

	/**
	 * 设置楼层ID查询条件
	 * 
	 * @param floorIdCondition 楼层ID查询条件
	 */
	public void setFloorIdCondition(Condition<String> floorIdCondition) {
		this.floorIdCondition = floorIdCondition;
	}

	/**
	 * 构造并返回[枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 * 
	 * @return merchantTypeCondition [枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 */
	public Condition<MerchantApplyMerchantType> merchantType() {
		this.merchantTypeCondition = new Condition<>();
		return this.merchantTypeCondition;
	}
	
	/**
	 * 获取[枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 * 
	 * @return merchantTypeCondition [枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 */
	public Condition<MerchantApplyMerchantType> getMerchantTypeCondition() {
		return merchantTypeCondition;
	}

	/**
	 * 设置[枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 * 
	 * @param merchantTypeCondition [枚举]商户类型：0-自营-PROPRIETARY、1-租赁-LEASE、2-联营-POOL、3-其他-OTHER查询条件
	 */
	public void setMerchantTypeCondition(Condition<MerchantApplyMerchantType> merchantTypeCondition) {
		this.merchantTypeCondition = merchantTypeCondition;
	}

	/**
	 * 构造并返回联系人名称查询条件
	 * 
	 * @return contactNameCondition 联系人名称查询条件
	 */
	public Condition<String> contactName() {
		this.contactNameCondition = new Condition<>();
		return this.contactNameCondition;
	}
	
	/**
	 * 获取联系人名称查询条件
	 * 
	 * @return contactNameCondition 联系人名称查询条件
	 */
	public Condition<String> getContactNameCondition() {
		return contactNameCondition;
	}

	/**
	 * 设置联系人名称查询条件
	 * 
	 * @param contactNameCondition 联系人名称查询条件
	 */
	public void setContactNameCondition(Condition<String> contactNameCondition) {
		this.contactNameCondition = contactNameCondition;
	}

	/**
	 * 构造并返回联系人手机号查询条件
	 * 
	 * @return contactMobileCondition 联系人手机号查询条件
	 */
	public Condition<String> contactMobile() {
		this.contactMobileCondition = new Condition<>();
		return this.contactMobileCondition;
	}
	
	/**
	 * 获取联系人手机号查询条件
	 * 
	 * @return contactMobileCondition 联系人手机号查询条件
	 */
	public Condition<String> getContactMobileCondition() {
		return contactMobileCondition;
	}

	/**
	 * 设置联系人手机号查询条件
	 * 
	 * @param contactMobileCondition 联系人手机号查询条件
	 */
	public void setContactMobileCondition(Condition<String> contactMobileCondition) {
		this.contactMobileCondition = contactMobileCondition;
	}

	/**
	 * 构造并返回联系地址查询条件
	 * 
	 * @return contactAddressCondition 联系地址查询条件
	 */
	public Condition<String> contactAddress() {
		this.contactAddressCondition = new Condition<>();
		return this.contactAddressCondition;
	}
	
	/**
	 * 获取联系地址查询条件
	 * 
	 * @return contactAddressCondition 联系地址查询条件
	 */
	public Condition<String> getContactAddressCondition() {
		return contactAddressCondition;
	}

	/**
	 * 设置联系地址查询条件
	 * 
	 * @param contactAddressCondition 联系地址查询条件
	 */
	public void setContactAddressCondition(Condition<String> contactAddressCondition) {
		this.contactAddressCondition = contactAddressCondition;
	}

	/**
	 * 构造并返回开始营业时间查询条件
	 * 
	 * @return startBusinessTimeCondition 开始营业时间查询条件
	 */
	public Condition<LocalTime> startBusinessTime() {
		this.startBusinessTimeCondition = new Condition<>();
		return this.startBusinessTimeCondition;
	}
	
	/**
	 * 获取开始营业时间查询条件
	 * 
	 * @return startBusinessTimeCondition 开始营业时间查询条件
	 */
	public Condition<LocalTime> getStartBusinessTimeCondition() {
		return startBusinessTimeCondition;
	}

	/**
	 * 设置开始营业时间查询条件
	 * 
	 * @param startBusinessTimeCondition 开始营业时间查询条件
	 */
	public void setStartBusinessTimeCondition(Condition<LocalTime> startBusinessTimeCondition) {
		this.startBusinessTimeCondition = startBusinessTimeCondition;
	}

	/**
	 * 构造并返回结束营业时间查询条件
	 * 
	 * @return endBusinessTimeCondition 结束营业时间查询条件
	 */
	public Condition<LocalTime> endBusinessTime() {
		this.endBusinessTimeCondition = new Condition<>();
		return this.endBusinessTimeCondition;
	}
	
	/**
	 * 获取结束营业时间查询条件
	 * 
	 * @return endBusinessTimeCondition 结束营业时间查询条件
	 */
	public Condition<LocalTime> getEndBusinessTimeCondition() {
		return endBusinessTimeCondition;
	}

	/**
	 * 设置结束营业时间查询条件
	 * 
	 * @param endBusinessTimeCondition 结束营业时间查询条件
	 */
	public void setEndBusinessTimeCondition(Condition<LocalTime> endBusinessTimeCondition) {
		this.endBusinessTimeCondition = endBusinessTimeCondition;
	}

	/**
	 * 构造并返回商铺面积查询条件
	 * 
	 * @return merchantAcreageCondition 商铺面积查询条件
	 */
	public Condition<BigDecimal> merchantAcreage() {
		this.merchantAcreageCondition = new Condition<>();
		return this.merchantAcreageCondition;
	}
	
	/**
	 * 获取商铺面积查询条件
	 * 
	 * @return merchantAcreageCondition 商铺面积查询条件
	 */
	public Condition<BigDecimal> getMerchantAcreageCondition() {
		return merchantAcreageCondition;
	}

	/**
	 * 设置商铺面积查询条件
	 * 
	 * @param merchantAcreageCondition 商铺面积查询条件
	 */
	public void setMerchantAcreageCondition(Condition<BigDecimal> merchantAcreageCondition) {
		this.merchantAcreageCondition = merchantAcreageCondition;
	}

	/**
	 * 构造并返回备注查询条件
	 * 
	 * @return remarksCondition 备注查询条件
	 */
	public Condition<String> remarks() {
		this.remarksCondition = new Condition<>();
		return this.remarksCondition;
	}
	
	/**
	 * 获取备注查询条件
	 * 
	 * @return remarksCondition 备注查询条件
	 */
	public Condition<String> getRemarksCondition() {
		return remarksCondition;
	}

	/**
	 * 设置备注查询条件
	 * 
	 * @param remarksCondition 备注查询条件
	 */
	public void setRemarksCondition(Condition<String> remarksCondition) {
		this.remarksCondition = remarksCondition;
	}

	/**
	 * 构造并返回创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人ID查询条件
	 * 
	 * @param createdByCondition 创建人ID查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回审核人ID查询条件
	 * 
	 * @return checkByCondition 审核人ID查询条件
	 */
	public Condition<String> checkBy() {
		this.checkByCondition = new Condition<>();
		return this.checkByCondition;
	}
	
	/**
	 * 获取审核人ID查询条件
	 * 
	 * @return checkByCondition 审核人ID查询条件
	 */
	public Condition<String> getCheckByCondition() {
		return checkByCondition;
	}

	/**
	 * 设置审核人ID查询条件
	 * 
	 * @param checkByCondition 审核人ID查询条件
	 */
	public void setCheckByCondition(Condition<String> checkByCondition) {
		this.checkByCondition = checkByCondition;
	}

	/**
	 * 构造并返回审核时间查询条件
	 * 
	 * @return checkTimeCondition 审核时间查询条件
	 */
	public Condition<LocalDateTime> checkTime() {
		this.checkTimeCondition = new Condition<>();
		return this.checkTimeCondition;
	}
	
	/**
	 * 获取审核时间查询条件
	 * 
	 * @return checkTimeCondition 审核时间查询条件
	 */
	public Condition<LocalDateTime> getCheckTimeCondition() {
		return checkTimeCondition;
	}

	/**
	 * 设置审核时间查询条件
	 * 
	 * @param checkTimeCondition 审核时间查询条件
	 */
	public void setCheckTimeCondition(Condition<LocalDateTime> checkTimeCondition) {
		this.checkTimeCondition = checkTimeCondition;
	}

	/**
	 * 构造并返回[枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 * 
	 * @return checkStatusCondition [枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 */
	public Condition<MerchantApplyCheckStatus> checkStatus() {
		this.checkStatusCondition = new Condition<>();
		return this.checkStatusCondition;
	}
	
	/**
	 * 获取[枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 * 
	 * @return checkStatusCondition [枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 */
	public Condition<MerchantApplyCheckStatus> getCheckStatusCondition() {
		return checkStatusCondition;
	}

	/**
	 * 设置[枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 * 
	 * @param checkStatusCondition [枚举]审核状态：0-未审核-UNCHECK、1-审核通过-SUCCESS、2-审核不通过-FAILURE、3-暂定-TENTATIVE查询条件
	 */
	public void setCheckStatusCondition(Condition<MerchantApplyCheckStatus> checkStatusCondition) {
		this.checkStatusCondition = checkStatusCondition;
	}

	/**
	 * 构造并返回审核意见查询条件
	 * 
	 * @return checkOpinionCondition 审核意见查询条件
	 */
	public Condition<String> checkOpinion() {
		this.checkOpinionCondition = new Condition<>();
		return this.checkOpinionCondition;
	}
	
	/**
	 * 获取审核意见查询条件
	 * 
	 * @return checkOpinionCondition 审核意见查询条件
	 */
	public Condition<String> getCheckOpinionCondition() {
		return checkOpinionCondition;
	}

	/**
	 * 设置审核意见查询条件
	 * 
	 * @param checkOpinionCondition 审核意见查询条件
	 */
	public void setCheckOpinionCondition(Condition<String> checkOpinionCondition) {
		this.checkOpinionCondition = checkOpinionCondition;
	}

	/**
	 * 构造并返回逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @param delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回从悦商惠申请的 必填查询条件
	 * 
	 * @return applyByCondition 从悦商惠申请的 必填查询条件
	 */
	public Condition<String> applyBy() {
		this.applyByCondition = new Condition<>();
		return this.applyByCondition;
	}
	
	/**
	 * 获取从悦商惠申请的 必填查询条件
	 * 
	 * @return applyByCondition 从悦商惠申请的 必填查询条件
	 */
	public Condition<String> getApplyByCondition() {
		return applyByCondition;
	}

	/**
	 * 设置从悦商惠申请的 必填查询条件
	 * 
	 * @param applyByCondition 从悦商惠申请的 必填查询条件
	 */
	public void setApplyByCondition(Condition<String> applyByCondition) {
		this.applyByCondition = applyByCondition;
	}

	/**
	 * 构造并返回申请手机号 悦商惠申请必填查询条件
	 * 
	 * @return applyMobileCondition 申请手机号 悦商惠申请必填查询条件
	 */
	public Condition<String> applyMobile() {
		this.applyMobileCondition = new Condition<>();
		return this.applyMobileCondition;
	}
	
	/**
	 * 获取申请手机号 悦商惠申请必填查询条件
	 * 
	 * @return applyMobileCondition 申请手机号 悦商惠申请必填查询条件
	 */
	public Condition<String> getApplyMobileCondition() {
		return applyMobileCondition;
	}

	/**
	 * 设置申请手机号 悦商惠申请必填查询条件
	 * 
	 * @param applyMobileCondition 申请手机号 悦商惠申请必填查询条件
	 */
	public void setApplyMobileCondition(Condition<String> applyMobileCondition) {
		this.applyMobileCondition = applyMobileCondition;
	}

	/**
	 * 构造并返回银行卡号查询条件
	 * 
	 * @return encBankNoCondition 银行卡号查询条件
	 */
	public Condition<String> encBankNo() {
		this.encBankNoCondition = new Condition<>();
		return this.encBankNoCondition;
	}
	
	/**
	 * 获取银行卡号查询条件
	 * 
	 * @return encBankNoCondition 银行卡号查询条件
	 */
	public Condition<String> getEncBankNoCondition() {
		return encBankNoCondition;
	}

	/**
	 * 设置银行卡号查询条件
	 * 
	 * @param encBankNoCondition 银行卡号查询条件
	 */
	public void setEncBankNoCondition(Condition<String> encBankNoCondition) {
		this.encBankNoCondition = encBankNoCondition;
	}

	/**
	 * 构造并返回银行开户用户名查询条件
	 * 
	 * @return encTrueNameCondition 银行开户用户名查询条件
	 */
	public Condition<String> encTrueName() {
		this.encTrueNameCondition = new Condition<>();
		return this.encTrueNameCondition;
	}
	
	/**
	 * 获取银行开户用户名查询条件
	 * 
	 * @return encTrueNameCondition 银行开户用户名查询条件
	 */
	public Condition<String> getEncTrueNameCondition() {
		return encTrueNameCondition;
	}

	/**
	 * 设置银行开户用户名查询条件
	 * 
	 * @param encTrueNameCondition 银行开户用户名查询条件
	 */
	public void setEncTrueNameCondition(Condition<String> encTrueNameCondition) {
		this.encTrueNameCondition = encTrueNameCondition;
	}

	/**
	 * 构造并返回开户行code查询条件
	 * 
	 * @return bankCodeCondition 开户行code查询条件
	 */
	public Condition<String> bankCode() {
		this.bankCodeCondition = new Condition<>();
		return this.bankCodeCondition;
	}
	
	/**
	 * 获取开户行code查询条件
	 * 
	 * @return bankCodeCondition 开户行code查询条件
	 */
	public Condition<String> getBankCodeCondition() {
		return bankCodeCondition;
	}

	/**
	 * 设置开户行code查询条件
	 * 
	 * @param bankCodeCondition 开户行code查询条件
	 */
	public void setBankCodeCondition(Condition<String> bankCodeCondition) {
		this.bankCodeCondition = bankCodeCondition;
	}

	/**
	 * 构造并返回银行名称查询条件
	 * 
	 * @return bankNameCondition 银行名称查询条件
	 */
	public Condition<String> bankName() {
		this.bankNameCondition = new Condition<>();
		return this.bankNameCondition;
	}
	
	/**
	 * 获取银行名称查询条件
	 * 
	 * @return bankNameCondition 银行名称查询条件
	 */
	public Condition<String> getBankNameCondition() {
		return bankNameCondition;
	}

	/**
	 * 设置银行名称查询条件
	 * 
	 * @param bankNameCondition 银行名称查询条件
	 */
	public void setBankNameCondition(Condition<String> bankNameCondition) {
		this.bankNameCondition = bankNameCondition;
	}

}
